﻿using HalconDotNet;
using NDK.Module.BLL;
using System;
using System.Collections.Generic;

namespace NDK.Module.Model
{
    public class DataItem
    {
        public int ID { get; set; }
        public string Name { get; set; }
        public double Value { get; set; }
        public int Position { get; set; }
        public string JugeResult { get; set; }
        public int Remark { get; set; }
    }

    public class MeasureProduct
    {
        public string SN { get; set; }
        public string NG_FAI { get; set; }
        public string OK_NG { get; set; }
        public int PPGHole { get; set; }
        public int TurnTableHole { get; set; }
        public DateTime TestStart { get; set; }
        public JUDGEMENT_RESULT Result { get; set; }

        public List<DataItem> MeasureData;
    }

    public class MeasureImage
    {
        public int Hole { get; set; }

        public (string, HImage)[] Images;
    }
}
